package com.ruoyi.system.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 门店店员业务对象 p_store_staff
 *
 * @author ruoyi
 * @date 2022-08-10
 */

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("门店店员业务对象")
public class PStoreStaffBo extends BaseEntity {

    /**
     * 
     */
    @ApiModelProperty(value = "", required = true)
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 管理员id
     */
    @ApiModelProperty(value = "管理员id", required = true)
    @NotNull(message = "管理员id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long uid;

    /**
     * 店员头像
     */
    @ApiModelProperty(value = "店员头像", required = true)
    @NotBlank(message = "店员头像不能为空", groups = { AddGroup.class, EditGroup.class })
    private String avatar;

    /**
     * 门店id
     */
    @ApiModelProperty(value = "门店id", required = true)
    @NotNull(message = "门店id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long storeId;

    /**
     * 店员名称
     */
    @ApiModelProperty(value = "店员名称", required = true)
    @NotBlank(message = "店员名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String staffName;

    /**
     * 手机号码
     */
    @ApiModelProperty(value = "手机号码", required = true)
    @NotBlank(message = "手机号码不能为空", groups = { AddGroup.class, EditGroup.class })
    private String phone;

    /**
     * 核销开关
     */
    @ApiModelProperty(value = "核销开关", required = true)
    @NotBlank(message = "核销开关不能为空", groups = { AddGroup.class, EditGroup.class })
    private String verifyStatus;

    /**
     * 状态
     */
    @ApiModelProperty(value = "状态", required = true)
    @NotBlank(message = "状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private String status;


}
